package com.jyxd.web.hiscz.dto.patient.demography;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jyxd.web.hiscz.dto.CodingDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("患者联系地址")
@Data
public class PatientAddresDto {

    @JsonProperty(value = "Type")
    @ApiModelProperty(name = "地址类型 H-家庭,C-工作,T-临时")
    private String type;

    @JsonProperty(value = "Country")
    @ApiModelProperty(name = "国家代码")
    private CodingDto country;

    @JsonProperty(value = "Province")
    @ApiModelProperty(name = "省标识")
    private CodingDto province;

    @JsonProperty(value = "City")
    @ApiModelProperty(name = "城市标识")
    private CodingDto city;

    @JsonProperty(value = "County")
    @ApiModelProperty(name = "区标识")
    private CodingDto county;

    @JsonProperty(value = "Town")
    @ApiModelProperty(name = "镇标识")
    private CodingDto town;

    @JsonProperty(value = "StreetAddress")
    @ApiModelProperty(name = "街道地址")
    private String streetAddress;

    @JsonProperty(value = "HouseNumber")
    @ApiModelProperty(name = "门牌号")
    private String houseNumber;

    @JsonProperty(value = "Zip")
    @ApiModelProperty(name = "邮编")
    private String zip;

    @JsonProperty(value = "CompanyName")
    @ApiModelProperty(name = "单位名称(地址类型Type=C时,此处必填)")
    private String companyName;
}
